if HAVE_PYTHON
AM_CFLAGS = \
	-I../include -I$(top_srcdir)/include \
	-I../common -I$(top_srcdir)/common \
	@LIBCERROR_CPPFLAGS@ \
	@LIBCDATA_CPPFLAGS@ \
	@LIBCLOCALE_CPPFLAGS@ \
	@LIBCSPLIT_CPPFLAGS@ \
	@LIBUNA_CPPFLAGS@ \
	@LIBCFILE_CPPFLAGS@ \
	@LIBCPATH_CPPFLAGS@ \
	@LIBBFIO_CPPFLAGS@ \
	@LIBFGUID_CPPFLAGS@ \
	@LIBFSAPFS_DLL_IMPORT@

pyexec_LTLIBRARIES = pyfsapfs.la

pyfsapfs_la_SOURCES = \
	pyfsapfs.c pyfsapfs.h \
	pyfsapfs_container.c pyfsapfs_container.h \
	pyfsapfs_datetime.c pyfsapfs_datetime.h \
	pyfsapfs_error.c pyfsapfs_error.h \
	pyfsapfs_extended_attribute.c pyfsapfs_extended_attribute.h \
	pyfsapfs_extended_attributes.c pyfsapfs_extended_attributes.h \
	pyfsapfs_file_entries.c pyfsapfs_file_entries.h \
	pyfsapfs_file_entry.c pyfsapfs_file_entry.h \
	pyfsapfs_file_object_io_handle.c pyfsapfs_file_object_io_handle.h \
	pyfsapfs_guid.c pyfsapfs_guid.h \
	pyfsapfs_integer.c pyfsapfs_integer.h \
	pyfsapfs_libbfio.h \
	pyfsapfs_libcerror.h \
	pyfsapfs_libclocale.h \
	pyfsapfs_libfguid.h \
	pyfsapfs_libfsapfs.h \
	pyfsapfs_python.h \
	pyfsapfs_unused.h \
	pyfsapfs_volume.c pyfsapfs_volume.h \
	pyfsapfs_volumes.c pyfsapfs_volumes.h

pyfsapfs_la_LIBADD = \
	@LIBCERROR_LIBADD@ \
	../libfsapfs/libfsapfs.la \
	@LIBCDATA_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	@LIBCSPLIT_LIBADD@ \
	@LIBUNA_LIBADD@ \
	@LIBCFILE_LIBADD@ \
	@LIBCPATH_LIBADD@ \
	@LIBBFIO_LIBADD@ \
	@LIBFGUID_LIBADD@

pyfsapfs_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
pyfsapfs_la_LDFLAGS  = -module -avoid-version $(PYTHON_LDFLAGS)

endif

DISTCLEANFILES = \
	Makefile \
	Makefile.in

